home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
connec1r
/
form4.frm
< prev
next >
Wrap
Text File
|
1999-07-14
|
2KB
|
65 lines
VERSION 5.00
Begin VB.Form Form4
BackColor = &H00000000&
Caption = "Form4"
ClientHeight = 1320
ClientLeft = 4365
ClientTop = 4395
ClientWidth = 4560
LinkTopic = "Form4"
ScaleHeight = 1320
ScaleWidth = 4560
Begin VB.CommandButton Command1
Caption = "Click Here"
Height = 375
Left = 1560
TabIndex = 2
Top = 840
Width = 1575
End
Begin VB.TextBox Text1
Height = 375
IMEMode = 3 'DISABLE
Left = 1080
PasswordChar = "*"
TabIndex = 1
Top = 360
Width = 2535
End
Begin VB.Label Label1
BackColor = &H00000000&
Caption = "Fill In The Password"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FFFFFF&
Height = 375
Left = 1080
TabIndex = 0
Top = 0
Width = 2655
End
End
Attribute VB_Name = "Form4"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
If Text1.Text = "x" Then
MsgBox "Great - password accepted!", 6, "Good Job"
Unload Form4
Form5.Show
Else
MsgBox "Sorry, that's wrong, try again!", 6, "Try Again"
Text1.SetFocus
Text1.Text = ""
End If
End Sub